package homework1;

public class Test {
    public static void main(String[] args) {
        Student zg = new Student("张光",25,"廊坊","jds2507","001");
        zg.eat();
        zg.sleep();
        zg.sayHi();
        zg.study();

        Teacher ls = new Teacher("李四",35,"佳木斯",8000);
        ls.eat();
        ls.sleep();
        ls.sayHi();
        ls.teach();

        Doctor ww = new Doctor("王五",55,"廊坊","主任医师");
        ww.eat();
        ww.sleep();
        ww.sayHi();
        ww.cut();

    }
}
